package com.ehualu.msg.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.ehualu.core.util.sms.pojo.SmsResponse;
import com.ehualu.msg.Model.MsgModel;

@Path("/msg")
public interface MessageService {

	@POST
	@Path("/send")
	@Consumes(MediaType.APPLICATION_JSON)
	@Produces(MediaType.APPLICATION_JSON)
	public SmsResponse sendMsg(MsgModel msg);

}
